package com.ruoyi.stuinfo.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作业情况对象 assignmentsubmission
 * 
 * @author zc
 * @date 2025-05-16
 */
public class Ass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 提交记录ID */
    private Long submissionId;

    /** 作业ID */
    private Long assignmentId;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private String studentId;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 提交内容 */
    private String content;

    /** 附件URL */
    private String attachmentUrl;

    /** 得分 */
    @Excel(name = "得分")
    private BigDecimal score;

    /** 教师反馈 */
    @Excel(name = "教师反馈")
    private String feedback;

    /** 批改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "批改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gradeTime;

    /** 状态(已提交/已批改/迟交等) */
    @Excel(name = "状态(已提交/已批改/迟交等)")
    private String status;

    public void setSubmissionId(Long submissionId) 
    {
        this.submissionId = submissionId;
    }

    public Long getSubmissionId() 
    {
        return submissionId;
    }

    public void setAssignmentId(Long assignmentId) 
    {
        this.assignmentId = assignmentId;
    }

    public Long getAssignmentId() 
    {
        return assignmentId;
    }

    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }

    public String getStudentId() 
    {
        return studentId;
    }

    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setAttachmentUrl(String attachmentUrl) 
    {
        this.attachmentUrl = attachmentUrl;
    }

    public String getAttachmentUrl() 
    {
        return attachmentUrl;
    }

    public void setScore(BigDecimal score) 
    {
        this.score = score;
    }

    public BigDecimal getScore() 
    {
        return score;
    }

    public void setFeedback(String feedback) 
    {
        this.feedback = feedback;
    }

    public String getFeedback() 
    {
        return feedback;
    }

    public void setGradeTime(Date gradeTime) 
    {
        this.gradeTime = gradeTime;
    }

    public Date getGradeTime() 
    {
        return gradeTime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("submissionId", getSubmissionId())
            .append("assignmentId", getAssignmentId())
            .append("studentId", getStudentId())
            .append("submitTime", getSubmitTime())
            .append("content", getContent())
            .append("attachmentUrl", getAttachmentUrl())
            .append("score", getScore())
            .append("feedback", getFeedback())
            .append("gradeTime", getGradeTime())
            .append("status", getStatus())
            .toString();
    }
}
